package com.aldd.config;

import com.aldd.entity.Dept;
import org.springframework.context.annotation.*;

@Configuration
@ComponentScan({"com.aldd.controller", "com.aldd.service"})
@Import({JdbcConfig.class, MybatisConfig.class})
public class SpringConfig {
    @Bean
    public Dept getDept() {
        return new Dept();
    }
}
